package com.cskaoyan.object02.access.onepackage;

public class TestMemberAccess {

    public static void main(String[] args) {

        MemberAccess memberAccess = new MemberAccess();

        // public
        System.out.println(memberAccess.publicField);

        // protected
        System.out.println(memberAccess.protectedField);

        //默认访问权限的成员变量
        System.out.println(memberAccess.defaultField);

        // private 访问权限
        //System.out.println(memberAccess.privateField);
    }
}
